<?php
use think\facade\Route;

/* 用户考试接口 */
Route::group('exam/record', function () {
	Route::get('list', 			'getUserExamRecordList');		// 记录列表
	Route::get('$', 			'getUserExamRecordInfo');		// 单记录
	Route::get('wrong', 		'getUserExamWrongRecord');		// 考试结果错题解析
	Route::get('wrong/topic', 	'getWrongTopicWithAdjacent');	// 错题重练获取试题及上下题
    Route::get('topic',  		'getTopicAnswerRecord');    	// 公开考试结果试题信息
    Route::get('student',  		'getPaperStudentList');    	    // 指派考试列表
    Route::get('order',  		'getExamOrderList');    	    // 购买考试列表
    // 套卷详情
    Route::group('rollup/<id>', function () {
        Route::get('$', 'getRollUpPaperList');            // 套卷详情列表
    })->pattern(['id' => '\d+']);

})->prefix('\app\exam\service\Paper@');
